package com.tucy.logistics.modules.vehicle.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tucy.logistics.common.dto.vehicle.QueryVehicleDto;
import com.tucy.logistics.common.entity.vehicle.VehicleInfo;

/**
* @author tucy123
* @description 针对表【vehicle_info(车辆信息表)】的数据库操作Service
* @createDate 2023-10-12 15:28:54
*/
public interface VehicleInfoService extends IService<VehicleInfo> {

    /**
     * 查询车辆
     * @param queryVehicleDto
     * @return
     */
    Page<VehicleInfo> queryVehicleInfo(QueryVehicleDto queryVehicleDto);

    /**
     * 车辆详情
     * @param id
     * @return
     */
    VehicleInfo queryVehicleInfoDetails(String id);

    /**
     * 增改车辆
     * @param vehicleInfo
     * @return
     */
    Boolean saveUpdateVehicleInfo(VehicleInfo vehicleInfo);
}
